package com.ruoyi.statisticalCenter.mapper;

import java.util.List;
import com.ruoyi.statisticalCenter.domain.ScCustomerBadDebt;
import com.ruoyi.statisticalCenter.domain.vo.ScCustomerBadDebtVo;

/**
 * 客户账单核销Mapper接口
 *
 * @author pyx
 * @date 2024-03-01
 */
public interface ScCustomerBadDebtMapper
{
    /**
     * 查询客户账单核销
     *
     * @param id 客户账单核销主键
     * @return 客户账单核销
     */
    public ScCustomerBadDebt selectScCustomerBadDebtById(Long id);

    /**
     * 查询客户账单核销列表
     *
     * @param scCustomerBadDebtVo 客户账单核销
     * @return 客户账单核销集合
     */
    public List<ScCustomerBadDebt> selectScCustomerBadDebtList(ScCustomerBadDebtVo scCustomerBadDebtVo);

    /**
     * 新增客户账单核销
     *
     * @param scCustomerBadDebt 客户账单核销
     * @return 结果
     */
    public int insertScCustomerBadDebt(ScCustomerBadDebt scCustomerBadDebt);

    /**
     * 修改客户账单核销
     *
     * @param scCustomerBadDebt 客户账单核销
     * @return 结果
     */
    public int updateScCustomerBadDebt(ScCustomerBadDebt scCustomerBadDebt);

    /**
     * 删除客户账单核销
     *
     * @param id 客户账单核销主键
     * @return 结果
     */
    public int deleteScCustomerBadDebtById(Long id);

    /**
     * 批量删除客户账单核销
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteScCustomerBadDebtByIds(String[] ids);

    List<ScCustomerBadDebt> collect(ScCustomerBadDebtVo vo);
}
